<div class="wrapper-md">
    <form name="passwordForm" class=" form-validation form-horizontal">
        <div class="form-group col-md-12">
            <div class="col-lg-2 control-label">
                <label class="control-label"><span class="text-danger">*</span><span
                        translate="user.yuanmima"></span></label>
            </div>
            <div class="col-lg-4">
                <input type="password" class="form-control" name="oldPassword"
                       ng-model="vm.user.oldPassword" required
                       uib-tooltip="{{'common.op.remind18' | translate}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <div class="col-lg-2 control-label">
                <label class="control-label"><span class="text-danger">*</span><span
                        translate="user.xinmima"></span></label>
            </div>
            <div class="col-lg-4">
                <input type="password" class="form-control" name="password"
                       id="newPwd" ng-model="vm.user.password" required
                       ng-minlength="app.pwdRule.minLength"
                       ng-maxlength="app.pwdRule.maxLength"
                       uib-tooltip="{{'common.op.remind17' | translate}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <div class="col-lg-2 control-label">
                <label class="control-label"><span class="text-danger">*</span><span
                        translate="user.querenmima"></span></label>
            </div>
            <div class="col-lg-4">
                <input type="password" class="form-control" name="pwdName"
                       id="newPwd1" ng-model="vm.user.pwdName" required
                       ui-validate=" '$value==vm.user.password' "
                       ui-validate-watch=" 'vm.user.password' "
                       uib-tooltip="{{'user.querenmimatishi' | translate}}"/>
            </div>
        </div>
        <div class="form-group col-md-12">
            <button type="submit" class="btn btn-primary col-lg-offset-2"
                    ng-click="vm.savePassword()" ng-disabled="passwordForm.$invalid"
                    translate="common.confirm"></button>
        </div>
    </form>
</div>
